/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mycompany.ingsoc2;

import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author sfreiman
 */
public interface PeliculaDAO {

    public boolean crear(Pelicula pp) throws SQLException;

    public boolean borrar(Pelicula pp) throws SQLException;

    public boolean guardar(Pelicula pp) throws SQLException;

    public List<Pelicula> listar() throws SQLException;

    public List<Pelicula> listar(int id) throws SQLException;
    public List<Pelicula> listar(Genero mGenero) throws SQLException;
    public List<Pelicula> listar(String titulo, String director,Genero mGenero) throws SQLException;
    
}
